#include "pch.h"
#include "TddClient.h"


TddClient::TddClient()
{
	_isInited = false;
	_isLogined = false;
	_svrHandle = nullptr;
}


TddClient::~TddClient()
{
}


int TddClient::init(std::string ip, int port, int timeout) {
	if (_isInited == true) {
		return -1;
	}
	
	_isInited = true;
	return 0;
}

int TddClient::login(std::string username, std::string pwd) {
	return 0;
}

std::string TddClient::genReq(int a) {
	return "";
}

std::string TddClient::transmit(const std::string &reqStr) {
	return "";
}

int TddClient::handleRsp(const std::string &rsp) {
	return 0;
}

void TddClient::deinit() {

}